package zhongbo.java.air.dictionary.service;

import com.baomidou.mybatisplus.extension.service.IService;
import zhongbo.java.air.common.vo.PageVo;
import zhongbo.java.air.common.vo.ResultVo;
import zhongbo.java.air.dictionary.model.AlertZone;

public interface IAlertZoneService extends IService<AlertZone> {

    PageVo<AlertZone> pageQuery(Integer page, Integer pageSize
            , String keyword, String fields
            , String oderByField, Boolean orderByAsc);

    /**
     * 添加区域信息
     * @param alertZone
     * @return
     */
    ResultVo saveAlertZone(AlertZone alertZone);

    /**
     * 修改区域信息
     * @param alertZone
     * @return
     */
    ResultVo updateAlertZone(AlertZone alertZone);
}
